package com.my.yyr.dao.safty;

import com.my.yyr.dto.UserDto;
import com.my.yyr.model.User;
import org.apache.ibatis.annotations.Select;

public interface LoginDao {

    @Select("select u_id,u_name from sys_user where u_id = #{u_id} and u_pwd = #{u_pwd} ")
    User findUserByUserIdAndUserPwd(UserDto userDto);
}
